package com.ruoyi.system.mapper;

import java.util.Date;
import java.util.List;
import com.ruoyi.system.domain.ViewEquipmentData;
import org.apache.ibatis.annotations.Param;

/**
 * VIEWMapper接口
 * 
 * @author zbm
 * @date 2023-06-29
 */
public interface ViewEquipmentDataMapper 
{
    /**
     * 查询VIEW
     * 
     * @param equipmentName VIEW主键
     * @return VIEW
     */
    public ViewEquipmentData selectViewEquipmentDataByEquipmentName(String equipmentName);

    /**
     * 查询VIEW列表
     * 
     * @param viewEquipmentData VIEW
     * @return VIEW集合
     */
    public List<ViewEquipmentData> selectViewEquipmentDataList(
            @Param("equipmentName") String equipmentName,
            @Param("equipmentType")String equipmentType,
            @Param("createTime")String createTime,
            @Param("dataType")String dataType,
            @Param("dataValue")String dataValue,
            @Param("startTime")Date startTime,
            @Param("endTime")Date endTime);

    /**
     * 新增VIEW
     * 
     * @param viewEquipmentData VIEW
     * @return 结果
     */
    public int insertViewEquipmentData(ViewEquipmentData viewEquipmentData);

    /**
     * 修改VIEW
     * 
     * @param viewEquipmentData VIEW
     * @return 结果
     */
    public int updateViewEquipmentData(ViewEquipmentData viewEquipmentData);

    /**
     * 删除VIEW
     * 
     * @param equipmentName VIEW主键
     * @return 结果
     */
    public int deleteViewEquipmentDataByEquipmentName(String equipmentName);

    /**
     * 批量删除VIEW
     * 
     * @param equipmentNames 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteViewEquipmentDataByEquipmentNames(String[] equipmentNames);
}
